package com.shinbada.modules.competitor.entity;


import com.shinbada.core.persistence.DataEntity;
import com.shinbada.excel.annotation.Excel;
import com.shinbada.excel.annotation.ExcelField;
import com.shinbada.core.excel.convert.DictConverter;
import com.shinbada.core.excel.options.DictOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 产品数据项Entity
 * @author initcap
 * @version 2021-08-04
 */
 @Data
 @ApiModel
 @Excel("产品数据项")
public class CompetitorProductDataItem extends DataEntity<CompetitorProductDataItem> {
	/**
	 * 本体字段类型标识
	 */
 	public static final String ATS_NOUMENON = "ATSnoumenon";

	private static final long serialVersionUID = 1L;
	@ApiModelProperty("数据项名称")
	@ExcelField(value = "数据项名称")
	private String name;
	@ApiModelProperty("数据项类型")
	@ExcelField(value = "数据项类型")
	private String type;
	@ApiModelProperty("颜色标识")
	@ExcelField(value = "颜色标识")
	private String colourIdentifying;
	@ApiModelProperty("属性类型")
	@ExcelField(value = "属性类型")
	private String propertyType;
	@ApiModelProperty("比较规则")
	@ExcelField(value = "比较规则")
	private String regulation;
	@ApiModelProperty("停用/启用")
	@ExcelField(value = "停用/启用")
	private String status;
	@ApiModelProperty("父级数据项")
	@ExcelField(value = "父级数据项")
	private String parentId;
	@ApiModelProperty("数据项排序")
	@ExcelField(value = "数据项排序")
	private Long sort;
	@ApiModelProperty("筛选时是否必选 0:非必选 1:必选")
	@ExcelField(value = "筛选时是否必选 0:非必选 1:必选")
	private String required;
	@ApiModelProperty("参数类型")
	@ExcelField(value = "参数类型")
	private Integer parameterType;
	@ApiModelProperty("是否有图片")
	@ExcelField(value = "是否有图片")
	private Integer whetherImg;

	public CompetitorProductDataItem() {
		super();
	}

	public CompetitorProductDataItem(String id){
		super(id);
	}

}
